import koa from "koa"
import {appPort} from "./config/stting.js"
import { useControllers } from "./controllers/index.js"
import { sync} from "./db/index.js"


// await sync();
let app = new koa ()


useControllers(app)

app.listen(appPort)
console.log(`服务运行地址如下：http://localhost${appPort}`);
